<template>
      <el-input-number v-model="num" :step="value.data.attribute.step" :precision="value.data.attribute.precision" :placeholder="value.data.attribute.placeholder" :strictly="value.data.attribute.strictly" :controls="value.data.attribute.controls" :controls-position="value.data.attribute['controls-position']" :size="value.data.attribute.size" :disabled="value.data.attribute.disabled" :min="value.data.attribute.min" :max="value.data.attribute.max ? value.data.attribute.max : ''" class="j-input-number" v-iedit></el-input-number>
</template>
<script type="text/javascript">
export default {
  props: {
    value: [Array, Object]
  },
  components: {
    //Logo
  },
  data() {
    return {
      num: '',
    }
  },
  /**
   * 计算属性
   * @type {Object}
   */
  computed: {

  },
  /**
   * 数据监听
   * @type {Object}
   */
  watch: {
    demo(v) {
      console.log("数据监听", v);
    }
  },
  /**
   * 页面加载执行
   * @return {[type]} [description]
   */
  mounted() {

  },
  /**
   * 页面方法
   * @type {Object}
   */
  methods: {

  }
}

</script>
<style type="text/css" lang="scss">
.j-input-number {
  width: 100%;
}

</style>
